﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KPIS.GERP.GHRMS.MODEL
{
    public class FieldInfo : RecordInfo
    {
        private int field_pos_seq;
        private string field_pos_name;
        private string field_pos_name_eng;
        private string field_pos_line;
        private string field_pos_line_eng;
        private EmployeeTypeInfo emp_type_seq;
        private PositionTypeInfo pos_type_seq;
        private FieldGroupInfo field_group_seq;
        private ClassSpecificationInfo class_spec_seq;

        public FieldInfo()
        {

        }
        public FieldInfo(int Sequence)
        {
            this.Sequence = Sequence;
        }
        public FieldInfo(int Sequence, PositionTypeInfo PositionTypes, EmployeeTypeInfo EmployeeTypes)
        {
            this.Sequence = Sequence;
            this.EmployeeTypes = EmployeeTypes;
            this.PositionTypes = PositionTypes;
        }
        public FieldInfo(int Sequence, string Name, string NameEng, string LineName, string LineNameEng, string Remarks
            , EmployeeTypeInfo EmployeeTypes, PositionTypeInfo PositionTypes, FieldGroupInfo FieldGroups
            , ClassSpecificationInfo ClassSpecifications, Nullable<int> CreatedBy, Nullable<int> UpdatedBy)
        {
            this.Sequence = Sequence;
            this.Name = Name;
            this.NameEng = NameEng;
            this.LineName = LineName;
            this.LineNameEng = LineNameEng;
            this.Remarks = Remarks;
            this.EmployeeTypes = EmployeeTypes;
            this.PositionTypes = PositionTypes;
            this.FieldGroups = FieldGroups;
            this.ClassSpecifications = ClassSpecifications;
            this.CreatedBy = CreatedBy;
            this.UpdatedBy = UpdatedBy;
        }
        public int Sequence
        {
            get 
            {
                return field_pos_seq;
            }
            set 
            {
                field_pos_seq = value;
            }
        }
        public string Name
        {
            get
            {
                return field_pos_name;
            }
            set
            {
                field_pos_name = value;
            }
        }
        public string NameEng
        {
            get
            {
                return field_pos_name_eng;
            }
            set
            {
                field_pos_name_eng = value;
            }
        }
        public string LineName
        {
            get
            {
                return field_pos_line;
            }
            set
            {
                field_pos_line = value;
            }
        }
        public string LineNameEng
        {
            get
            {
                return field_pos_line_eng;
            }
            set
            {
                field_pos_line_eng = value;
            }
        }
        public EmployeeTypeInfo EmployeeTypes
        {
            get
            {
                return emp_type_seq;
            }
            set
            {
                emp_type_seq = value;
            }
        }
        public PositionTypeInfo PositionTypes
        {
            get
            {
                return pos_type_seq;
            }
            set
            {
                pos_type_seq = value;
            }
        }
        public FieldGroupInfo FieldGroups
        {
            get
            {
                return field_group_seq;
            }
            set
            {
                field_group_seq = value;
            }
        }
        public ClassSpecificationInfo ClassSpecifications
        {
            get
            {
                return class_spec_seq;
            }
            set
            {
                class_spec_seq = value;
            }
        }        

    }
}
